<%--
  Created by IntelliJ IDEA.
  User: lujw
  Date: 2017/6/16
  Time: 8:33
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="/common/validate.jsp"%>
<%@ include file="/common/hospital_notice.jsp"%>
<%
    //通知类型和级别
    List levelList = QBuilder.db("basedb").select("new map(id as id, name as name)").from("HospitalNoticeLevel").where(new Where("hospital=", hospital).and("status=", ConstantUtil.STATUS_ENABLE)).order("id", QBuilder.asc).query().getResultObj();
    List categoryList = QBuilder.db("basedb").select("new map(id as id, name as name)").from("HospitalNoticeCategory").where(new Where("hospital=", NOTICE_CATEGORY_HOSPITAL).and("status=", ConstantUtil.STATUS_ENABLE)).order("id", QBuilder.asc).query().getResultObj();
    Map dataMap = new HashMap();
    dataMap.put("level", levelList);
    dataMap.put("category", categoryList);
    msg.put("data", dataMap);
    Tools.encryptPrint(out, msg);
%>
